home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MACD 5
/
MACD 5.bin
/
internet
/
irc_i_dodatki
/
kuang
/
kuangeleven28.lha
/
Rexx
/
Pub
/
kicks.AMIRX
< prev
next >
Wrap
Text File
|
1997-02-06
|
2KB
|
54 lines
/* Kuang 11 Public Channel Plugin - Remote Kicks
Requires c flag from user
Supports anti flood delay
Works only in autochannels.
To install add following commands
PHILOSOPHY
PHIL
SPLATT
BRAIN
BUTT
MOMMA
SHOOT
*/
options results
parse arg nick channel pxf pxt imop autochan text
if getclip('st_remkick')=nick|~imop|~autochan|pos('C',pxf)=0 then exit
"GETMYNICK"
mynick=result
parse var text command target args
upper command
if target='-' then target=''
setclip('st_remkick',nick)
Select
when command='PHILOSOPHY'|command='PHIL' then if nick~=mynick&target~=''&pos('P',pxt)=0 then amrx('philosophy' target channel)
when command='SPLATT' then if nick~=mynick&target~=''&pos('P',pxt)=0 then amrx('splatt' target channel)
when command='INSULT'|command='RIN' then if nick~=mynick&target~=''&pos('P',pxt)=0 then amrx('rin' target channel)
when command='BRAIN' then if nick~=mynick&target~=''&pos('P',pxt)=0 then amrx('PinkyBrain' target channel)
when command='BUTT' then if nick~=mynick&target~=''&pos('P',pxt)=0 then amrx('butt' target channel)
when command='MOMMA' then if nick~=mynick&target~=''&pos('P',pxt)=0 then amrx('momma' target channel)
when command='SHOOT' then if target~=='' then do
if pos('P',pxt)~=0 then k=0;else k=1
if upper(nick)=upper(target) then tg='himself';else tg=target
'say' nick 'picks up the revolver .....'
'say' nick 'spins the chamber ... Round and round it goes .....'
'say' nick 'points the gun at' tg 'and pulls the trigger ....'
Select
when upper(target)=upper(mynick) then kick(channel,nick,inv('KABOOM') 'The gun explodes in his hands')
when upper(nick)=upper(target) then kick(channel,nick,inv('KABOOM') 'Goodbye cruel world...')
when k then "echo" kick(channel,target,inv('BANG') 'got him right between the eyes')
otherwise
'say Click Cliq, lucky son of a bitch!!'
end
end
otherwise
end
delay(500)
setclip('st_remkick')
exit
amrx:;'SAY /RX' arg(1);return 0
kick:;'RAW KICK' arg(1) arg(2) ':'bld(arg(3));return 0
inv:PROCEDURE;i=x2c('16');return i||arg(1)||i
bld:;bld = x2c('02');return bld||arg(1)||bld